package cn.ant.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @Version 1.0
 * @Author:lss
 * @Date:2021/10/28
 * @Content:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AopControllerLogEntity {
    //ip
    private String ip;
    //请求地址
    private String url;
    //请求的方法(如GET、POST)
    private String requestMethodName;
    //get请求的入参
    private Map<String, String[]> parameterMap;
    //切入点方法名
    private String pointCutMethodName;
    //切入点方法所在的controller
    private String declaringTypeName;
    //切入点入参
    private Object[] args;
    //切入点操作人
    private String operator;
    //出参
    private Object response;
    //耗时 ms
    private Long timeConsuming;
    //接口错误信息
    private String errorMessage;
}
